package tingshu.view_object;

import lombok.Data;
import tingshu.data_object.TrackDO;

@Data
public class ListTrackView {
    public Integer tid;
    public String title;
    public Integer refCount;

    public ListTrackView(TrackDO trackDO, int refCount) {
        this.tid = trackDO.tid;
        this.title = trackDO.title;
        this.refCount = refCount;
    }
}
